package com.centit.framework.ip.businessdata.service;

import com.alibaba.fastjson.JSONArray;
import com.centit.framework.ip.businessdata.po.MessageInfo;
import com.centit.framework.jdbc.service.BaseEntityManager;
import com.centit.framework.model.basedata.IOptInfo;
import com.centit.support.database.utils.PageDesc;

import java.util.List;
import java.util.Map;

/**
 * MessageInfo  Service.
 * create by scaffold 2018-06-04
 *
 * @author guo_jh
 * T_MESSAGE_INFO支撑平台消息数据表
 */

public interface MessageInfoManager extends BaseEntityManager<MessageInfo, String> {

    public JSONArray listMessageInfosAsJson(
            String[] fields,
            Map<String, Object> filterMap, PageDesc pageDesc);
    public void updateBysql(String sql ,Object[]param);
    List<? extends IOptInfo> listOptId(String userCode, String superOptId,boolean asAdmin,String module,String currOptid );
}
